package RadianceM.DistributionSystem.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Schema(
        name = "BunkCommentLike",
        title = "床位评论点赞表",
        description = ""
)
@TableName(value = "all_bunk_comment_like")
public class BunkCommentLike {

    @Schema(title = "床位评论点赞id", description = "")
    @TableId(value = "bunk_comment_like_id")
    private Long id;

    @Schema(title = "点赞评论id", description = "")
    @TableField(value = "bunk_comment_id")
    private Long bunkCommentId;

    @Schema(title = "用户id", description = "")
    @TableField(value = "user_id")
    private Long userId;

    @Schema(title = "点赞时间", description = "")
    @TableField(value = "like_time")
    private Date time;
}
